package com.bourse.at.indicator;

import org.apache.log4j.Logger;

import com.bourse.core.utils.Cotation;
import com.bourse.core.utils.TimeSerie;
import com.bourse.core.utils.TimeSerieObject;


public abstract class Indicator {

	protected Logger LOGGER = Logger.getLogger(Indicator.class);
	
	protected TimeSerieObject<Cotation> cotations;
	
	public Indicator(TimeSerieObject<Cotation> cotations){
		this.cotations= cotations;
	}
	
	public abstract TimeSerie calculate();

	protected TimeSerieObject<Cotation> getCotations(){
		return this.cotations;
	}
	
	
	
}
